package com.shop.cloud.domain.hongfu;

import java.sql.Timestamp;
import java.util.Date;
import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.shop.cloud.common.mapper.OffsetDateTimeToIso8601Serializer;
import com.shop.cloud.common.mybatis.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 
 * sys_sms_code-sys_sms_code
 *
 */
@ToString
@EqualsAndHashCode(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class SysSmsCode extends BaseEntity{

	private static final long serialVersionUID = 1L;
    
	/**
	 * 用户ID
	 */
	@ApiModelProperty(value = "用户ID")
	 private Long userId;
	/**
	 * 验证手机号
	 */
	@ApiModelProperty(value = "验证手机号")
	 private String phone;
	/**
	 * 验证码
	 */
	@ApiModelProperty(value = "验证码")
	 private String code;
	/**
	 * 记录生产时间
	 */
	@ApiModelProperty(value = "记录生产时间")		
	 private Timestamp createDate;
	/**
	 * 验证码过期时间
	 */
	@ApiModelProperty(value = "验证码过期时间")		
	 private Timestamp overDate;
	/**
	 * 验证状态: 0:登陆 1:注册 2:修改密码
	 */
	@ApiModelProperty(value = "验证状态: 0:登陆 1:注册 2:修改密码")
	 private Integer status;
	/**
	 * 短信记录简要描述
	 */
	@ApiModelProperty(value = "短信记录简要描述")
	 private String remark;
    
    public SysSmsCode(){
    
    }
    
    public Long getUserId() {
        return this.userId;
    }
    
    public void setUserId(Long userId) {
        this.userId = userId;
    }
    public String getPhone() {
        return this.phone;
    }
    
    public void setPhone(String phone) {
        this.phone = phone;
    }
    public String getCode() {
        return this.code;
    }
    
    public void setCode(String code) {
        this.code = code;
    }
    public Timestamp getCreateDate() {
        return this.createDate;
    }
    
    public void setCreateDate(Timestamp createDate) {
        this.createDate = createDate;
    }
    public Timestamp getOverDate() {
        return this.overDate;
    }
    
    public void setOverDate(Timestamp overDate) {
        this.overDate = overDate;
    }
    public Integer getStatus() {
        return this.status;
    }
    
    public void setStatus(Integer status) {
        this.status = status;
    }
    public String getRemark() {
        return this.remark;
    }
    
    public void setRemark(String remark) {
        this.remark = remark;
    }

}